// 微信支付商户主体类型值
export const WXPAYMENT_ORGANIZATION_TYPE_VALUE = {
    micro: '2401',
    individual: '4',
    company: '2',
};

// 微信支付商户主体类型名
export const WXPAYMENT_ORGANIZATION_TYPE = {
    [WXPAYMENT_ORGANIZATION_TYPE_VALUE.micro]: '小微商户',
    [WXPAYMENT_ORGANIZATION_TYPE_VALUE.individual]: '个体工商户',
    [WXPAYMENT_ORGANIZATION_TYPE_VALUE.company]: '企业',
};

// 微信支付经营者类型值
export const WXPAYMENT_CONTACT_TYPE_VALUE = {
    owner: '65',
    principal: '66',
};

// 微信支付审核状态
export const WXPAYMENT_APPLY_STATUS_VALUE = {
    CHECKING: 'CHECKING', // 资料校验中
    ACCOUNT_NEED_VERIFY: 'ACCOUNT_NEED_VERIFY', // 待账户验证
    AUDITING: 'AUDITING', // 审核中
    REJECTED: 'REJECTED', // 已驳回
    NEED_SIGN: 'NEED_SIGN', // 待签约
    FINISH: 'FINISH', // 完成
    FROZEN: 'FROZEN', // 已冻结
};

// 微信支付账号类型值
export const WXPAYMENT_ACCOUNT_TYPE_VALUE = {
    ACCOUNT_TYPE_BUSINESS: 'ACCOUNT_TYPE_BUSINESS',
    ACCOUNT_TYPE_PRIVATE: 'ACCOUNT_TYPE_PRIVATE',
};

// 微信支付账号类型
export const WXPAYMENT_ACCOUNT_TYPE = {
    [WXPAYMENT_ACCOUNT_TYPE_VALUE.ACCOUNT_TYPE_BUSINESS]: '对公银行卡',
    [WXPAYMENT_ACCOUNT_TYPE_VALUE.ACCOUNT_TYPE_PRIVATE]: '个人银行卡',
};
